﻿// Decompiled by AS3 Sorcerer 6.12
// www.as3sorcerer.com

//Sync

package 
{
    public class Sync 
    {

        private var _SafeStr_280:Number = 0;
        private var _SafeStr_281:Number = 0;

        public function Sync(step:Number)
        {
            this._SafeStr_281 = step;
            this._SafeStr_280 = ((Math.random() * Math.PI) * 2);
        }

        public function get phase():Number
        {
            return (this._SafeStr_280);
        }

        public function tick():void
        {
            this._SafeStr_280 = (this._SafeStr_280 + this._SafeStr_281);
            if (this._SafeStr_280 > (Math.PI * 2))
            {
                this._SafeStr_280 = (this._SafeStr_280 - (Math.PI * 2));
            };
        }


    }
}//package 

// _SafeStr_280 = "_-24" (String#4753, DoABC#2)
// _SafeStr_281 = "var " (String#7763, DoABC#2)


